package top.zackyoung.demo.entity;

/**
 * @author: ZackYoung
 * @time: 2020/9/17
 */
public class Teacher {
    private int id;
    private String name;
    private int age;
    private String position;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Teacher(int id, String name, int age, String position) {

        this.id = id;
        this.name = name;
        this.age = age;
        this.position = position;
    }
}
